package com.xmb.wcapi.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmb.wcapi.entity.CussContraceptive;
import com.xmb.wcapi.entity.U8Duty;
import com.xmb.wcapi.entity.U8Inventory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@DS("db1")
public interface U8InventoryMapper extends BaseMapper<U8Inventory> {
    IPage<U8Inventory> selectCusInfoPage(Page<?> page,@Param("cusCode") String cusCode);

    IPage<U8Inventory> selectInfoPage(Page<?> page, @Param("cusCode") String cusCode, @Param("invCode") String code);

    U8Duty getU8DutySum();

    List<String> getInvCodeList(String cusCode);

}
